package mianxiangduixiang.Test6.T1;

/**
 * @Author JetZhang
 * @Date 2021/11/4
 */
public class Test1 {
    public static void main(String[] args) {
        Circle circle = new Circle();
        try {
            circle.setRadius();
            System.out.println("圆面积：" + circle.getArea());
        } catch (Exception e) {
            System.out.println("不能是负数");
        }

    }
}
